package cn.tradewin.pmp.pages.test;

import org.apache.tapestry5.annotations.Log;
import org.apache.tapestry5.annotations.Property;
import org.apache.tapestry5.ioc.annotations.Inject;
import org.slf4j.Logger;

public class Translator1 {
	
	@Property
	private int age;
	
	@Property
	private Float weight;
	
	@Inject
	Logger log;
	
	@Log
	void onSuccess() {
		log.debug("age = " + age);
		log.debug("weight = " + weight);
	}
}
